projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f730def
)
Remove some dead code
author
Alex Crichton
<alex@alexcrichton.com>
Mon, 1 Feb 2016 21:34:02 +0000
(13:34 -0800)
committer
Alex Crichton
<alex@alexcrichton.com>
Mon, 1 Aug 2016 17:11:20 +0000
(10:11 -0700)
src/cargo/core/summary.rs
patch
|
blob
|
history
diff --git
a/src/cargo/core/summary.rs
b/src/cargo/core/summary.rs
index 01697171d2ff546e49c4271bac22257ad1e70322..419cc05d5235f373c0f3bdd94a4e7b02a4e115db 100644
(file)
--- a/
src/cargo/core/summary.rs
+++ b/
src/cargo/core/summary.rs
@@
-88,15
+88,3
@@
impl PartialEq for Summary {
self.package_id == other.package_id
}
}
-
-pub trait SummaryVec {
- fn names(&self) -> Vec<String>;
-}
-
-impl SummaryVec for Vec<Summary> {
- // TODO: Move to Registry
- fn names(&self) -> Vec<String> {
- self.iter().map(|summary| summary.name().to_string()).collect()
- }
-
-}